﻿-- =============================================
-- Script Template
-- =============================================
USE MASTER
IF db_id('SchoolManager') is not null
	BEGIN
		ALTER DATABASE SchoolManager 
		SET SINGLE_USER 
		WITH ROLLBACK IMMEDIATE
		
		DROP DATABASE SchoolManager;	
	END
CREATE DATABASE SchoolManager;
